<?php
function inbox_toonInboxMenu($selected){
	echo "<a href='?type=student&id=inbox&state=1'";
		if($selected == "1") { 
			echo " class='selected'";
		}
			echo "><h2>Postvak IN</h2></a>";
			
	echo "<a href='?type=student&id=inbox&state=2'";
		if($selected == "2") { 
			echo " class='selected'";
		}
			echo "><h2>Verzonden items</h2></a>";
			
	echo "<a href='?type=student&id=inbox&state=3'";
		if($selected == "3") { 
			echo " class='selected'";
		}
			echo "><h2>Verwijderde items</h2></a>";
			
	echo "<a href='?type=student&id=inbox&state=4'";
		if($selected == "4") { 
			echo " class='selected'";
		}
			echo "><h2>Bewaren</h2></a>";
}

function inbox_toonBerichten($state, $ontvangenItems, $verzondenItems, $verwijderdeItems, $bewaardeItems){
	if($state == 1){
		vacatures_Beknopt($ontvangenItems, false);
	}
	
	if($state == 2){
		reacties_Beknopt($verzondenItems);
	}
	
}

?>